puts "Introduce la cadena a partir:"
c = gets.chomp

puts "#{c.slice(0..(c.length/2 - 1)).upcase}#{c.slice((c.length/2)..(c.length)).downcase}"